package com.example.oct.feign;

import com.example.framework.common.pojo.R;
import com.example.framework.security.core.dto.JwtTokenRespDto;
import com.example.oct.feign.dto.PwdLoginReqVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("user")
public interface UserFeign {

    @PostMapping("/login/byPassword")
    R<JwtTokenRespDto> loginByPassword(@RequestBody PwdLoginReqVO reqDto);
}
